<lv-datatable [lvData]="data" #lvTable>
  <thead>
    <tr>
      <th lvCellKey="name">Name</th>
      <th lvCellKey="age">Age</th>
      <th lvCellKey="random">Random</th>
    </tr>
  </thead>
  <tbody>
    <ng-container *ngFor="let item of lvTable.renderData">
      <tr>
        <td>{{ item.name }}</td>
        <td>{{ item.age }}</td>
        <td>{{ item.random }}</td>
      </tr>
    </ng-container>
  </tbody>
</lv-datatable>
<lv-paginator
  [lvPageSize]="pageSize"
  [lvTotal]="total"
  [lvPageIndex]="pageIndex"
  (lvPageChange)="pageChange($event)"
  [lvPageSizeOptions]="sizeOptions"
></lv-paginator>
